import React from "react";
import Base from "./component/Base";
import Menu from "./component/Menu";

export let sideMenu = [
    {
    title:"布局",
    icon:"cog",
    active : true,
    items: [
        {title:"宫格一",url:"/grid"},
        {title:"宫格二",url:"/column"},
        {title:"表单",url:"/form"},
        {title:"列表",url:"/list"},
    ]
},{
    title:"设置二",
    icon:"cog",
    items: [
        {title:"基础",url:""},
        {title:"基础",url:""},
        {title:"基础",url:""},
        {title:"基础",url:""},
    ]
},{
    title:"设置三",
    icon:"cog",
    items: [
        {title:"基础",url:""},
        {title:"基础",url:""},
        {title:"基础",url:""},
        {title:"基础",url:""},
    ]
}];

/*顶部左菜单*/
export let leftMenu = [
    // {title:"侧边伸缩", icon:"indent", events : {
    //     onClick : function (e) {
    //
    //     }
    // }},
    // {title:"前台", icon:"globe", url : "/"},
    // {title:"刷新", icon:"repeat", events: {
    //     onClick : function (e) {
    //
    //     }
    // }}
];

/*弹出菜单*/
export let personal = [
    {title:"修改密码", icon:"edit", url : "/a"},
    {title:"安全退出", icon:"sign-out", url : "/exit"}
];

/*顶部右侧菜单*/
export let rightMenu = [
    {title:"通知", icon:"bell", children : <Base.Badge type="square">9</Base.Badge>},
    {title:"主题", icon:"tachometer-alt", children:<Base.Badge type="dot"/>},
    {title:"全屏", icon:"expand-alt"},
    {title:"", icon:"user-circle", children : <Menu.Sub items={personal}/>}
];